package com.nulldev.util.uri.http;

import com.nulldev.util.java.JVMUtil;

public class HTTPBuilder {

	private final StringBuilder builder = new StringBuilder();
	
	public HTTPBuilder add(final String data) {
		this.builder.append(data);
		return this;
	}
	
	public HTTPBuilder addln(final String data) {
		this.builder.append(data + JVMUtil.lineSep());
		return this;
	}
	
	public String get() {
		return this.builder.toString();
	}
}
